package com.atguigu.gmall.search.feign;

import com.atguigu.gmall.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/api/inner/rpc/search")
@FeignClient("service-search")
public interface SearchFeignClient {

//    @GetMapping("/hotscore/update/{skuId}/{score}")
//    Result updateHotScore(@PathVariable("skuId")Long skuId,
//                                 @PathVariable("score")Long score);
//    @GetMapping("/goods/delete/{skuId}")
//    Result deleteGoods(@PathVariable("skuId")Long skuId);
}
